/**
 * @author 陈艺博
 * @date 2021-02-25 08:58
 * @description 双向队列测试类
 **/
public class DequeTest {
    public static void main(String[] args) {
        Deque<Integer> deque = new Deque<>();
        deque.enQueueFront(11);
        deque.enQueueFront(22);
        deque.enQueueRead(33);
        deque.enQueueRead(44);
        /**
         * read尾 44 33 11 22  头front
         */

        while (!deque.isEmpty()) {
            System.out.println(deque.deQueueFront());
        }
    }
}
